package tech.aistar.entity;

import java.util.Date;

public class House {
    private Integer id;

    private Integer agentId;

    private Integer landlordId;

    private String houseEvaluate;

    private String landlordRequire;

    private String propertyOwnershipCertificate;

    private String houseType;

    private String area;

    private Integer floor;

    private String parkPlace;

    private String tenancy;

    private String orientate;

    private String region;

    private String rentType;

    private String houseState;

    private Double rentMoney;

    private String houseIdentity;

    private String doorplate;

    private String residentialQuarters;

    private String imageUrl;

    public House() {
    }

    public House(Integer agentId, Integer landlordId, String houseEvaluate, String landlordRequire, String propertyOwnershipCertificate, String houseType, String area, Integer floor, String parkPlace, String tenancy, String orientate, String region, String rentType, String houseState, Double rentMoney, String houseIdentity, String doorplate, String residentialQuarters) {
        this.agentId = agentId;
        this.landlordId = landlordId;
        this.houseEvaluate = houseEvaluate;
        this.landlordRequire = landlordRequire;
        this.propertyOwnershipCertificate = propertyOwnershipCertificate;
        this.houseType = houseType;
        this.area = area;
        this.floor = floor;
        this.parkPlace = parkPlace;
        this.tenancy = tenancy;
        this.orientate = orientate;
        this.region = region;
        this.rentType = rentType;
        this.houseState = houseState;
        this.rentMoney = rentMoney;
        this.houseIdentity = houseIdentity;
        this.doorplate = doorplate;
        this.residentialQuarters = residentialQuarters;
    }

    public House(Integer agentId, Integer landlordId, String houseEvaluate, String landlordRequire, String propertyOwnershipCertificate, String houseType, String area, Integer floor, String parkPlace, String tenancy, String orientate, String region, String rentType, String houseState, Double rentMoney, String houseIdentity, String doorplate, String residentialQuarters, String imageUrl) {
        this.agentId = agentId;
        this.landlordId = landlordId;
        this.houseEvaluate = houseEvaluate;
        this.landlordRequire = landlordRequire;
        this.propertyOwnershipCertificate = propertyOwnershipCertificate;
        this.houseType = houseType;
        this.area = area;
        this.floor = floor;
        this.parkPlace = parkPlace;
        this.tenancy = tenancy;
        this.orientate = orientate;
        this.region = region;
        this.rentType = rentType;
        this.houseState = houseState;
        this.rentMoney = rentMoney;
        this.houseIdentity = houseIdentity;
        this.doorplate = doorplate;
        this.residentialQuarters = residentialQuarters;
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getHouseIdentity() {
        return houseIdentity;
    }

    public void setHouseIdentity(String houseIdentity) {
        this.houseIdentity = houseIdentity;
    }

    public String getDoorplate() {
        return doorplate;
    }

    public void setDoorplate(String doorplate) {
        this.doorplate = doorplate;
    }

    public String getResidentialQuarters() {
        return residentialQuarters;
    }

    public void setResidentialQuarters(String residentialQuarters) {
        this.residentialQuarters = residentialQuarters;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public Integer getLandlordId() {
        return landlordId;
    }

    public void setLandlordId(Integer landlordId) {
        this.landlordId = landlordId;
    }

    public String getHouseEvaluate() {
        return houseEvaluate;
    }

    public void setHouseEvaluate(String houseEvaluate) {
        this.houseEvaluate = houseEvaluate == null ? null : houseEvaluate.trim();
    }

    public String getLandlordRequire() {
        return landlordRequire;
    }

    public void setLandlordRequire(String landlordRequire) {
        this.landlordRequire = landlordRequire == null ? null : landlordRequire.trim();
    }

    public String getPropertyOwnershipCertificate() {
        return propertyOwnershipCertificate;
    }

    public void setPropertyOwnershipCertificate(String propertyOwnershipCertificate) {
        this.propertyOwnershipCertificate = propertyOwnershipCertificate == null ? null : propertyOwnershipCertificate.trim();
    }

    public String getHouseType() {
        return houseType;
    }

    public void setHouseType(String houseType) {
        this.houseType = houseType == null ? null : houseType.trim();
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public String getParkPlace() {
        return parkPlace;
    }

    public void setParkPlace(String parkPlace) {
        this.parkPlace = parkPlace;
    }

    public String getTenancy() {
        return tenancy;
    }

    public void setTenancy(String tenancy) {
        this.tenancy = tenancy;
    }

    public String getOrientate() {
        return orientate;
    }

    public void setOrientate(String orientate) {
        this.orientate = orientate == null ? null : orientate.trim();
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region == null ? null : region.trim();
    }

    public String getRentType() {
        return rentType;
    }

    public void setRentType(String rentType) {
        this.rentType = rentType == null ? null : rentType.trim();
    }

    public String getHouseState() {
        return houseState;
    }

    public void setHouseState(String houseState) {
        this.houseState = houseState == null ? null : houseState.trim();
    }

    public Double getRentMoney() {
        return rentMoney;
    }

    public void setRentMoney(Double rentMoney) {
        this.rentMoney = rentMoney;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("House{");
        sb.append("id=").append(id);
        sb.append(", agentId=").append(agentId);
        sb.append(", landlordId=").append(landlordId);
        sb.append(", houseEvaluate='").append(houseEvaluate).append('\'');
        sb.append(", landlordRequire='").append(landlordRequire).append('\'');
        sb.append(", propertyOwnershipCertificate='").append(propertyOwnershipCertificate).append('\'');
        sb.append(", houseType='").append(houseType).append('\'');
        sb.append(", area='").append(area).append('\'');
        sb.append(", floor=").append(floor);
        sb.append(", parkPlace='").append(parkPlace).append('\'');
        sb.append(", tenancy='").append(tenancy).append('\'');
        sb.append(", orientate='").append(orientate).append('\'');
        sb.append(", region='").append(region).append('\'');
        sb.append(", rentType='").append(rentType).append('\'');
        sb.append(", houseState='").append(houseState).append('\'');
        sb.append(", rentMoney=").append(rentMoney);
        sb.append(", houseIdentity='").append(houseIdentity).append('\'');
        sb.append(", doorplate='").append(doorplate).append('\'');
        sb.append(", residentialQuarters='").append(residentialQuarters).append('\'');
        sb.append(", imageUrl='").append(imageUrl).append('\'');
        sb.append('}');
        return sb.toString();
    }
}